﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Epsilon.Expr
{
    public class ScOpExpr : Expression
    {
        public Expression Left { get; private set; }
        public Expression Right { get; private set; }
        public ScOp Op { get; private set; }

        public ScOpExpr(Expression l, Expression r, ScOp op, int i, int c)
            : base(i, c)
        {
            Left = l;
            Right = r;
            Op = op;
        }
    }

    public enum ScOp
    {
        AndAlso,
        OrElse
    }
}
